﻿#pragma once

#include "XIntParserBase.h"


class CXControlIntParser : public CXIntParserBase
{
public:
    CXControlIntParser();
    ~CXControlIntParser();

    // 创建控件之前
    virtual BOOL PreCreate(IN IXConfigNode* pNode, IN IXControl* pControl);

    // 创建控件之前
    virtual BOOL CreateUI(IN IXConfigNode* pNode, IN IXControl* pControl, IN IXControl* pParent);

    // 填充属性
    virtual BOOL FillAttr(IN IXConfigNode* pNode, IN IXControl* pControl);

protected:
    virtual IIntParser* GetParentParser()
    {
        return NULL;
    }
};
